package com.example.tool.activtiy;

import android.view.View;
import android.widget.Button;

import com.example.tool.R;
import com.example.tool.activtiy.base.BaseActivity;
import com.example.tool.mvp.CommonPresent;
import com.example.tool.widget.love.LoveLayout;

import butterknife.BindView;

/**
 * 描述:
 *
 * @author: liangkun
 * @date: 2019/10/9 17:10
 */
public class LoveActivity extends BaseActivity<CommonPresent> {
    @BindView(R.id.love)
    protected LoveLayout loveLayout;
    @BindView(R.id.btn)
    protected Button btn;

    @Override
    protected int getLayoutId() {
        return R.layout.activity_love;
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initEvent() {
        btn.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                loveLayout.addLove();
            }
        });
    }

    @Override
    protected CommonPresent createPresenter() {
        return null;
    }
}
